package com.cn.crmsystem.mapper.systemMapper;

import com.cn.crmsystem.pojo.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface PermissionMapper {

    /**
     * 根据role的id 返回该角色拥有哪些权限
     * @param roleId
     * @return
     */
    List<Permission> selectPermission(Integer roleId);
}
